package com.lanou.sfu.songforu.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;

import com.lanou.sfu.songforu.R;
import com.lanou.sfu.songforu.base.BaseFragment;

/**
 * Created by quyan on 15/11/12.
 */
public class AboutFragment extends BaseFragment implements View.OnClickListener {
    private ImageView back;
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_about,null);
        back = (ImageView) view.findViewById(R.id.aboutback);
        return view;
    }

    @Override
    public void onActivityCreated(@Nullable Bundle savedInstanceState) {
        super.onActivityCreated(savedInstanceState);
        back.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        getFragmentManager().popBackStack();
    }
}
